package com.feeyo.monitor.utils;

import java.util.List;

/**
 * 生成树形部门所用的节点实体
 * @Author <a href="mailto:bliulei@variflight.com">liulei</a>
 * @Description Created by liulei on 2017/5/19 上午11:54.
 */
public class DeptTreeNode {

        public String id;// json id
        public String parentid;//
        public String name;// json 显示文本
        public String code;// json 显示文本
        public List<DeptTreeNode> children;//

        public String getId() {
            return id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public void setId(String id) {
            this.id = id;
        }

        public List<DeptTreeNode> getChildren() {
            return children;
        }

        public void setChildren(List<DeptTreeNode> children) {
            this.children = children;
        }

        public String getParentid() {
            return parentid;
        }

        public void setParentid(String parentid) {
            this.parentid = parentid;
        }

    public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }
}
